package cn.stylefeng.guns.modular.tool.entity;

import com.baomidou.mybatisplus.annotation.TableName;

import lombok.Data;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

/**
 * 扫码分配
 */
@TableName("tool_express_scan")
@Data
public class ToolExpressScan implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 状态
     */
    @TableField("state")
    private String state;

    /**
     * 作业id
     */
    @TableField("wave_id")
    private Long waveId;

    /**
     * 快递单号
     */
    @TableField("order_number")
    private String orderNumber;

    /**
     * 用户id
     */
    @TableField("user_id")
    private Long userId;

    /**
     * 小组id
     */
    @TableField("arrange_id")
    private Long arrangeId;

    /**
     * 小组编号
     */
    @TableField("arrange_number")
    private String arrangeNumber;

    /**
     * 人员
     */
    @TableField("user_name")
    private String userName;

    /**
     * 交接次数
     */
    @TableField("handover")
    private String handover;

    /**
     *波次
     */
    @TableField("v1")
    private String v1;

    /**
     *类型
     */
    @TableField("v2")
    private String v2;

    /**
     *包材编号
     */
    @TableField("v3")
    private String v3;

    /**
     *v4
     */
    @TableField("v4")
    private String v4;

    @Override
    public String toString() {
        return "ToolExpressScan{" +
        "id=" + id +
        ", state=" + state +
        ", waveId=" + waveId +
        ", orderNumber=" + orderNumber +
        ", userId=" + userId +
        ", userName=" + userName +
        ", v1=" + v1 +
        ", v2=" + v2 +
        "}";
    }
}
